package com.xbongbong.pro.form.pojo.dto;

import com.xbongbong.paas.field.LinkListPojo;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author 吴峰
 * @version v1.0
 * @date 2019/6/25 14:46
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class EnableAssociationListDTO extends BaseDTO {

    private static final long serialVersionUID = -1975241715914439216L;
    /**
     * 启用的关联列表，将会显示在tab中
     */
    private List<LinkListPojo> associationList;

    /**
     * 表单id
     */
    @NotNull(message = "{dto.msg.enableAssociationList.formId.NotNull}")
    private Long formId;

    @NotNull(message = "{dto.msg.enableAssociationList.saasMark.NotNull}")
    private Integer saasMark;

    @NotNull(message = "{dto.msg.enableAssociationList.businessType.NotNull}")
    private Integer businessType;
}
